<style scoped lang="less">
  .head {
    width: 100%;
    display: flex;
    padding: 2rem 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    h2 {
      font-size: 2rem;
      color: #fff
    }
    .search-group {
      width: 50%;
      margin: 2rem 0;
    }
    .search-btn {
      padding: 0 2rem;
    }
  }

  .neo-dynamic-list {
    margin: 0 auto;
    .neo-dynamic-item {
      position: relative;
      padding: 15px;

      .neo-dynamic-link {
        cursor: pointer;
      }
      .neo-dynamic-content {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #fff;
        z-index: 1;
        padding: 15px 0;
        p {
          margin: 0;
          line-height: 1.5;
        }
        .neo-dynamic-title {
          font-size: 1rem;
        }
        .neo-dynamic-value {
          font-size: 1.5rem;
          margin-top: 1rem;
        }
      }
    }
  }

  .neo-bg {
    position: absolute;
    top: 15px;
    left: 15px;
    bottom: 15px;
    right: 15px;
    background: #308fd8;
    opacity: .4;
  }

  .neo-dynamic-link:hover .neo-dynamic-content {
    color: #0056b3 !important;
  }

  .neo-block-list {
    padding: 15px;
    color: #fff
  }
  .title-color{
    z-index: 1;
    line-height:3;
    align-items: center;
  }
  .neo-block-item{
    padding:0;
    margin:0;
    border-top: 1px solid #fff;
    z-index: 1;
    .neo-block-content{
      padding:10px 0;
    }
  }
  .neo-item-title{
    font-size: 1.5rem;
  }
</style>
<template>
  <div class="el-container">
    <div class="head">
      <h2>{{$t('title')}}</h2>
      <b-input-group size="lg" class="search-group">
        <b-form-input :placeholder="$t('slider.dynamic.search')"></b-form-input>
        <b-input-group-append>
          <b-btn class="btn search-btn">{{$t('search')}}</b-btn>
        </b-input-group-append>
      </b-input-group>
    </div>
    <div class="row container neo-dynamic-list">
      <div class="col-md-2 col-lg-2 neo-dynamic-item col-sm-4">
        <div class="neo-bg"></div>
        <div class="neo-dynamic-content">
          <p class="neo-dynamic-title">{{$t('dynamic.startTime')}}</p>
          <p class="neo-dynamic-value">2016-08-15</p>
        </div>
      </div>
      <router-link to="/" class="col-md-2 neo-dynamic-link neo-dynamic-item col-sm-4">
        <div class="neo-bg"></div>
        <div class="neo-dynamic-content">
          <p class="neo-dynamic-title">{{$t('dynamic.assetNum')}}</p>
          <p class="neo-dynamic-value">2016-08-15</p>
        </div>
      </router-link>
      <router-link to="/" class="col-md-2 neo-dynamic-item neo-dynamic-link col-sm-4">
        <div class="neo-bg"></div>
        <div class="neo-dynamic-content">
          <p class="neo-dynamic-title">{{$t('dynamic.blockNum')}}</p>
          <p class="neo-dynamic-value">2016-08-15</p>
        </div>
      </router-link>
      <router-link to="/" class="col-md-2 neo-dynamic-item neo-dynamic-link col-sm-4">
        <div class="neo-bg"></div>
        <div class="neo-dynamic-content">
          <p class="neo-dynamic-title">{{$t('dynamic.transactionNum')}}</p>
          <p class="neo-dynamic-value">2016-08-15</p>
        </div>
      </router-link>
      <router-link to="/" class="col-md-2 neo-dynamic-item neo-dynamic-link col-sm-4">
        <div class="neo-bg"></div>
        <div class="neo-dynamic-content">
          <p class="neo-dynamic-title">{{$t('dynamic.addressNum')}}</p>
          <p class="neo-dynamic-value">2016-08-15</p>
        </div>
      </router-link>
      <router-link to="/" class="col-md-2 neo-dynamic-item neo-dynamic-link col-sm-4">
        <div class="neo-bg"></div>
        <div class="neo-dynamic-content">
          <p class="neo-dynamic-title">{{$t('dynamic.newBlock')}}</p>
          <p class="neo-dynamic-value">09{{$t('dynamic.second')}}</p>
        </div>
      </router-link>
    </div>
    <div class="container">
      <div class="row">
        <div class="col-sm-12 col-md-6 col-lg-4">
          <div class="neo-block-list">
            <div class="neo-bg"></div>
            <div class="row title-color">
              <div class="col-sm-8">{{$t('slider.block.name')}}</div>
              <div class="col-sm-4">
                <div class="title-more  text-right">>></div>
              </div>
            </div>
            <div class="row neo-block-item">
              <div class="col-sm-12 neo-block-content">
                <div class="row " style="align-items: center">
                  <div class=" col-sm-6 text-left pointer neo-item-title">446310
                  </div>
                  <div class=" col-sm-6 text-right ">1 Transaction</div>
                </div>
                <div class="row block-item-sub-wrapper">
                  <span class="block-item col-6 text-left">914 byte</span>
                  <span class="block-item col-6 text-right">24s ago</span>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="col-sm-12 col-md-6 col-lg-4">
          <div class="neo-block-list">
            <div class="neo-bg"></div>
            <div class="row title-color">
              <div class="col-sm-8">{{$t('slider.transaction.name')}}</div>
              <div class="col-sm-4">
                <div class="title-more  text-right">>></div>
              </div>
            </div>
            <div class="row neo-block-item">
              <div class="col-sm-12 neo-block-content">
                <div class="row " style="align-items: center">
                  <router-link to="/" class="text-hidden text-color col-sm-6 text-left ">
                    0x09574fed1928b46fbf9b29bced5bb611102beeaa73360a1c89f620c4ce269ff6
                  </router-link>
                  <div class=" col-sm-6 text-right ">2018-06-12 | 08:30:20</div>
                </div>
                <div class="">
                  contract
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="col-sm-12 col-md-6 col-lg-4">
          <div class="neo-block-list">
            <div class="neo-bg"></div>
            <div class="row title-color">
              <div class="col-sm-8">{{$t('slider.address.name')}}</div>
              <div class="col-sm-4">
                <div class="title-more  text-right">>></div>
              </div>
            </div>
            <div class="row neo-block-item">
              <div class="col-sm-12 neo-block-content">
                <div class="row " style="align-items: center">
                  <router-link to="/" class="text-hidden text-color col-sm-6 text-left ">
                    0x09574fed1928b46fbf9b29bced5bb611102beeaa73360a1c89f620c4ce269ff6
                  </router-link>
                  <div class=" col-sm-6 text-right ">2018-06-12 | 08:30:20</div>
                </div>
                <div class="">
                  446310
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    data () {
      return {};
    }
  };
</script>
